package com.motorhome.manage.service;

import com.motorhome.base.util.Result;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author: John
 */
public interface LoginService {

    Result doLogin(HttpServletRequest request, HttpServletResponse response,
                   String loginName, String loginPass, String code);

    void logout(HttpServletRequest request, HttpServletResponse response);

}
